#!/bin/bash

if [[ $(id -u) != 0 ]]; then
    echo "Please run as root or use sudo"
    exit 1
fi

set -x

apt-get autoremove
apt-get autoclean
apt-get clean
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

